package br.com.dex.dexfitness.services;

import java.net.MalformedURLException;

import android.content.Context;
import br.com.digitalexpert.utils.Constants;

import com.microsoft.windowsazure.mobileservices.MobileServiceClient;

public class Azure {
	
	private MobileServiceClient mClient;
	
	public Azure(){
		super();
	}
	
	public Azure(Context ctx)  {
		try {
			mClient = new MobileServiceClient(Constants.AZURE_SERVICE_URL, Constants.AZURE_MOBILE_SERVICE_KEY, ctx);
		} catch (MalformedURLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	public MobileServiceClient getAzureClient(){
		return mClient;
	}
	
}
